﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UniversityManagementSystem.DAL;
using UniversityManagementSystem.Gateway;

namespace UniversityManagementSystem.Manager
{
    public class SemesterManager
    {
        SemesterGateway gateway = new SemesterGateway();
        public List<Semester> GetAllSemesters()
        {
            try
            {
                return gateway.GetAllSemesters();
            }
            catch (Exception exception)
            {
                
                throw new Exception("Error Occured"+exception);
            }
        }
    }
}